package modler

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(50)" json:"password"`
}
type Video struct {
	gorm.Model
	Title     string `gorm:"type:varchar(50)" json:"title"`
	Content   string `gorm:"type:varchar(50)" json:"content"`
	Img       string `gorm:"type:varchar(50)" json:"img"`
	LikeCount int    `gorm:"type:int" json:"likeCount"`
}
